import json  
import pandas as pd  
  
# 你的JSON字符串  
with open ('my-data_beta.txt','r',encoding='utf-8') as file:
    chunk_size = 10000
    data = []
    for line in file:
        data.extend(json.loads(line))
  
# 将数据转换为DataFrame  
df = pd.DataFrame(data)  
  
# 将DataFrame写入Excel文件 
#df.to_csv('pro-date.csv',index=False, encoding='utf-8') 
df.to_excel('output-beta.xlsx', index=False, engine='openpyxl')
